package com.pxxy.mall.auth.feign;

import com.pxxy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author zhangjj
 * @since 2024/2/5
 */
@FeignClient("mall-third-party")
public interface ThirdPartyApi {


    @GetMapping("/sms/sendCode")
    R sendCode(@RequestParam("phone") String phone);


}
